package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("shopping_cart_detail")
public class ShoppingCartDetailDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 购物车ID */
    @TableField("shopping_cart_id")
    private Long shoppingCartId;
    /** 商品ID */
    @TableField("articles_id")
    private Long articlesId;
    /** 规格ID */
    @TableField("specification_id")
    private Long specificationId;
    /** 是否下单 0否 1是 */
    @TableField("is_or_not_buy")
    private Integer isOrNotBuy;
    /** 商品类别 1书籍 2周边 */
    @TableField("articles_category")
    private Integer articlesCategory;
    /** 数量 */
    @TableField("quantity")
    private Long quantity;
}
